package benchmarks.tpch.mysql;

import api.Configuration;
import api.Loader;
import api.connection.DBConnection;
import api.connection.ConnectionMySQL;
import benchmarks.tpch.TPCHBenchmark;

public class TPCHBenchMySQL extends TPCHBenchmark {
    public TPCHBenchMySQL(Configuration config) {
        super(config);
        databaseName = MySqlName;
    }

    public DBConnection makeConnection() {
        return new ConnectionMySQL(config);
    }

    public Loader makeLoaderImpl() {
        return new TPCHLoaderMySQL(config.getScaleFactor());
    }
}
